﻿using System;
using System.Threading.Tasks;
using ETModel;

namespace ETHotfix
{
    [ActorMessageHandler(AppType.Map)]
    public class C2M_TestActorRequestHandler : AMActorLocationRpcHandler<Unit, C2M_TestActorRequest, M2C_TestActorResponse>
    {
        protected override async Task Run(Unit unit, C2M_TestActorRequest message, Action<M2C_TestActorResponse> reply)
        {
            //返回字符串消息  actor rpc 消息回应！
            reply(new M2C_TestActorResponse() { Info = "actor rpc response" });
            await Task.CompletedTask;
        }
    }
}



